// -------------------------------------------------------------------------
//    @FileName			:    NFCUIPlugin.cpp
//    @Author           :    Johance
//    @Date             :    2016-12-26
//    @Module           :    NFCUIPlugin
//
// -------------------------------------------------------------------------
#include "NFCClientPlugin.h"

#include "NFComm/NFUIManager/NFCUIManager.h"
#include "NFComm/NFDBService/DBService.h"
#include "NFComm/NFNetService/NetService.h"

const int NFCClientPlugin::GetPluginVersion()
{
    return 0;
}

const std::string NFCClientPlugin::GetPluginName()
{
	return GET_CLASS_NAME(NFCUIPlugin);
}

void NFCClientPlugin::Install()
{
    REGISTER_MODULE(pPluginManager, NFCUIManager, NFCUIManager);
    REGISTER_MODULE(pPluginManager, NetService, NetService);
    REGISTER_MODULE(pPluginManager, IDBService, DBService);
}

void NFCClientPlugin::Uninstall()
{
    UNREGISTER_MODULE(pPluginManager, NFCUIManager, NFCUIManager);
    REGISTER_MODULE(pPluginManager, NetService, NetService);
    REGISTER_MODULE(pPluginManager, DBService, DBService);
}
